DiagramLite Programmer's Guide
Utilities.ApproxBezier Method (Point[], Int32, Int32)
See Also
 





Approximates the specified bezier curve with a polyline. The specified quality parameter varies in the interval [1, ...) and is proportional to the number of points in the resulting polyline.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static Point[] ApproxBezier (
    Point[] points,
    int startIdx,
    int quality
)

Visual Basic  Copy Code

Public Shared Function ApproxBezier( _
    points() As Point, _
    startIdx As Integer, _
    quality As Integer _
) As Point()

 Parameters

points
A list of Bezier control points.
startIdx

Index of the first point in the points array to include in the approximation.

quality
Specifies the approximation quality.

 Return Value

A list of points that approximate the curve as a series of straight line segments.

 See Also

ApproxBezier Method Overload List
Utilities Members
Utilities Class
MindFusion.Diagramming Namespace